﻿using System;

namespace IDesktop.Core {

    public enum TimeDivision {
        Day,
        Night
    }

    public class Timeline {
        public static TimeDivision GetTimeline() {
            TimeDivision division = TimeDivision.Day;
            int hour = DateTime.Now.Hour;
            if (!(8 <= hour && hour <= 20)) {
                division = TimeDivision.Night;
            }
            return division;
        }
    }
}
